package com.tuozixuan.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tuozixuan.model.Person;

@RestController
public class TestController {
	
	public final static Logger logger = LoggerFactory.getLogger(TestController.class);

    @GetMapping("/test")
    public Person test(){
    	logger.debug("身份证：{}，姓名：{}，电话：{}", "320829112334566767", "不才陈某", "19896327106");
        Person user = new Person();
        user.setRealName("不才陈某");
        user.setPhoneNumber("19796328206");
        user.setAddress("浙江省杭州市温州市....");
        user.setIdCard("4333333333334334333");
        return user;
    }
}
